package com.ttsx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ttsx.pojo.dto.product.ProductQueryDTO;
import com.ttsx.pojo.entity.Product;

import java.util.List;

/**
* @author lucky
* @description 针对表【ttsx_product(产品表)】的数据库操作Service
* @createDate 2025-03-01 17:41:06
*/
public interface ProductService extends IService<Product> {

    List<Product> getCategoryListByProductId(Long categoryId);

    PageInfo<Product> getPage(Integer pIndex, Integer pSize, ProductQueryDTO productQueryDTO);
}
